package com.xizi.forum.service;

import com.xizi.forum.common.AppResult;
import com.xizi.forum.model.BoardInfo;

import java.util.List;

public interface IBoardInfoService {
    /**
     * 获取版块链表
     * @return
     */
    AppResult<List<BoardInfo>> selectListNum();

    int updateBoardArticleCount(Long boardId,Boolean check);

    /**
     * 获取其中一个版块
     * @param id 版块id
     * @return
     * @throws Exception
     */
    BoardInfo getBoardInfoById(Long id);
}
